package com.ynny.abstract_.demo02;

public class GeometryTest {

    public static void main(String[] args) {

       Geometry rt = new Rectangle();
       rt.area();
       rt.perimeter();

       Geometry circle = new Circle();
       circle.area();
       circle.perimeter();

    }
}
